On 03/21/2018 02:24 PM, Procházka Lukáš Ing. wrote:
> Hello,
> 
> does \framed recognize before and after keys, as mentioned here:
> 
>       http://wiki.contextgarden.net/Command/defineframed
> or:   http://wiki.contextgarden.net/Command/setupframedtexts ?

Hi Lukáš,

\framed inherits from \setupframed (as explained in
tex/texmf-context/tex/context/interface/mkiv/i-context.pdf).

\setupframedtext (which I don’t think is exactly the same as
\setupframed) inherits from \setupplacement (which contains both keys
before and after).

That being said, I don’t know why before and after don’t work with
framed texts.

Pablo


> In the following example it seems both keys are ignored:
> 
> ----
> \defineframedtext[AddressBox][before=\red,after=\small]
> 
> \starttext
>    \green A
>    \AddressBox{\cldcontext{"Hele"}}
>    B
> \stoptext
> ----
> 
> Best regards,
> 
> Lukas


-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to